<div ng-controller="menuSetController">
<style type="text/css">
     .main_block .man-right-btn{text-align:right;}
    .main_block .man-right-btn button{width:100px;}
    .main_block .main-block-cd-ul{width:100%;height:60px;}
    .main_block .main-block-cd-ul li{float:left;width: 180px;overflow: hidden;height: 45px;}
     .main_block .main-block-cd-ul li .li-txt{margin-left:37px;width:100px;}
     .main_block .main-block-cd-ul li .liebiaocheck-box{top:23px;}    
</style>
<h1>菜单设置</h1>
<div class="main_block">       
    <div class="man-right-btn">
        <button class="btn queding" ng-click="language = !language;">{{language?'中文':'English'}}</button>
    </div>
    <ul class="main-block-cd-ul" ng-repeat="fmenu in stuMenuList">
        <li>
            <div class="liebiaocheck-box" ng-class="{selected:fmenu.isSel}" ng-click="checkMenu('',fmenu,1)">                                    
                <span class="iconfont">&#xe67a;</span>
            </div>
            <input class="li-txt"  type="text" ng-model="fmenu.cnname" ng-if="!language" placeholder="请输入中文标题"/>  
            <input class="li-txt"  type="text" ng-model="fmenu.enname" ng-if="language" placeholder="请输入英文标题"/>                               
        </li>            
        <li ng-repeat = "cmenu in fmenu.children">
            <div class="liebiaocheck-box" ng-class="{selected:cmenu.isSel}" ng-click="checkMenu(cmenu,fmenu,2)">                                    
                <span class="iconfont">&#xe67a;</span>
            </div>                       
            <input class="li-txt"  type="text" ng-model="cmenu.cnname" ng-if="!language" placeholder="请输入中文标题"/>                               
            <input class="li-txt"  type="text" ng-model="cmenu.enname" ng-if="language"  placeholder="请输入英文标题"/>                                                  
        </li>                   
    </ul>    
    <center><button class="btn queding" no-click mnt="saveMenu()">保存</button></center>                                                
</div>
</div>













